#include "dialog.h"
#include "ui_dialog.h"
#include <QDialog>
Dialog::Dialog(QWidget *parent)
    : QDialog(parent)
    , ui(new Ui::Dialog)
{
    ui->setupUi(this);

    QDialog *dialog = new QDialog();
    dialog->resize(400, 200);
    dialog->show();
}

Dialog::~Dialog()
{
    delete ui;
}

